#ifndef LOGMANAGER_H
#define LOGMANAGER_H

#include <QObject>
#include <QTextEdit>
#include <QDateTime>

class LogManager : public QObject
{
    Q_OBJECT

public:
    explicit LogManager(QTextEdit *logWidget, QObject *parent = nullptr);

    void addLog(const QString &message);
    void clearLog();
    void exportLog();

private:
    QTextEdit *logWidget_;
};

#endif // LOGMANAGER_H
